package com.smedi.ismedi.notification.core.port.adapter.persistence.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.notification.core.application.query.vo.MailTemplateVo;
import com.smedi.ismedi.notification.core.port.adapter.persistence.model.MailTemplateEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @version: v1.0.0
 * @author: wzx
 * @date: 2022/11/23 13:37
 * @Description: TODO
 */

public interface MailTemplateMapper extends BaseMapper<MailTemplateEntity> {

    IPage<MailTemplateVo> selectInternalAssignmentVoPagination(Page<MailTemplateVo> page,
                                                               @Param("templateName") String templateName);

}
